package com.hmall.search.service;

import com.hmall.feign.dto.PageDTO;
import com.hmall.search.pojo.RequestParams;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearchService {
    List<String> suggestion(String termPrefix) throws IOException;

    Map<String, List<String>> getFilters(RequestParams params) throws IOException;

    PageDTO search(RequestParams params) throws IOException;
}
